package com.hae.cloud.testorderservice.api.feign;

import com.hae.cloud.testorderservice.api.feign.inter.UserFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignController {

    @Autowired
    private UserFeign userFeign;

    @RequestMapping("/getUserByFeign")
    public String getUserByFeign() {
        return userFeign.getUser();
    }


}
